package com.t174.car.service;

import com.t174.car.entity.CarPurchase;
import com.t174.car.entity.CarSales;

import java.math.BigDecimal;

public interface CarService {
    public int addCar(CarPurchase carPurchase,BigDecimal money);

    /**
     * 汽车销售
     * @param carSales
     * @return
     */
    public int salesCar(CarSales carSales);
}
